package com.softeem.music_server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication
public class MyApplication {

    @RequestMapping("/")
    public String home(){
        return "Hello SpringBoot!!!";
    }

    public static void main(String[] args) {
        //tomcat - 8080
        SpringApplication.run(MyApplication.class,args);
    }

}
